#!/usr/bin/python
# -*- coding: utf-8 -*-
__author__ = 'xiwei'


class ErrorCode:

    ERROR_SQL_ = 100

    ERROR_SERVER_TIMEOUT = 10

    def __init__(self):
        pass


class ClientError(Exception):
    """
    docstring for ClientError
    """

    ERROR = {
        'ERROR': 'null'
    }

    def __init__(self, status):
        self.status = status
        self.message = self.ERROR.get(status)
